package com.example.springboot.demo.conroller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/freemarker")
public class FreemarkerController {

    @RequestMapping("/hello")
	public String hello(Map<String,Object> map) {
        
        map.put("msg", "HelloFreemarker");
        return "hello";
    }
}